package com.example.administrator.myapplication;

import android.app.Activity;
import android.os.Bundle;
import android.util.DisplayMetrics;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //setContentView(R.layout.activity_main);
        //实现wifi效果
//        MySurfaceView2 mv = new MySurfaceView2(this);
//        setContentView(mv);
        MySurfaceViewRobot mv = new MySurfaceViewRobot(this);
        setContentView(mv);



    }
}
